package org.tc.client.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.tc.client.entity.Users;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insertUser(Users users);

    int insertBuMemNum(Users users);

    int updateScoreByMemNumber(Users user);

    Users login(@Param("phone")String phone,@Param("pwd")String pwd);

    Users selectUser(@Param("id") Integer id);

    Users selectByPhone(@Param("phone") String phone,@Param("nickname")String nickname);


    int updateUserById(Users users);
}